<?php
namespace Store\Model;
use Think\Model\ViewModel;
class QrcodeproductViewModel extends ViewModel {
    public $viewFields = array(
        'Score_qrcode' => array('*'),
        'Score_qrproduct' => array('*','_on'=>'Score_qrcode.id=Score_qrproduct.qid'),
        'Score_product' => array('id'=>'pid','title','issale','score'=>'p_score','_on'=>'Score_qrproduct.pid=Score_product.id'),

    );
}
?>